//import TestAntD from './pages/TestAntd'
import {
  BrowserRouter as Router,
  Switch,
  Route
} from "react-router-dom";

import Login from './pages/login'
import Main from './pages/main'
function App() {
  return (
    <div >
      <Router>
        <Route path="/" exact component={Login}></Route>
        <Route path="/main"  component={Main}></Route>
      </Router>
         
    </div>
  );
}

export default App;
